package com.yzy.fly.annotation;

import com.yzy.fly.kernel.mapper.FlyBasicMapper;
import com.yzy.fly.kernel.service.FlyBasicService;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Loader {
    Class<? extends FlyBasicService> serviceBean() default FlyBasicService.class;
    Class<? extends FlyBasicMapper> mapperBean() default FlyBasicMapper.class;
//    Class<?> cls() default Object.class;
//    ParentIdType type() default ParentIdType.ALL;
//
//    Integer getId();
//    Long getGlobalId();
////    String getName();
//    List<Loader> getChildrens();
}
